import request from "@/utils/request";

class ProfileAPI {
  /*     获取    */
  static editInfo (data) {
    return request({
      url: `/api/admin/profile-information`,
      method: "PUT",
      data
    });
  }
  /*     修改密码    */
  static psd (data) {
    return request({
      url: `/api/admin/password`,
      method: "PUT",
      data
    });
  }
}
export default ProfileAPI;
